diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-10-31 20:31:03 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-10-31 20:31:03 +0100 |
commit | 06a8ed945b4c517bb6cf5c84f0d06aa9ede37f11 (patch) | |
tree | 38cf7445bc01a42437f1329d74652865debc86ea /web/pw-server/src/routes/bots/[bot_name]/index.svelte | |
parent | 8d556bbff1bd716c2c42c8002706038f28b55b91 (diff) | |
download | planetwars.dev-06a8ed945b4c517bb6cf5c84f0d06aa9ede37f11.tar.xz planetwars.dev-06a8ed945b4c517bb6cf5c84f0d06aa9ede37f11.zip |
tabbed bot page
Diffstat (limited to 'web/pw-server/src/routes/bots/[bot_name]/index.svelte')
-rw-r--r-- | web/pw-server/src/routes/bots/[bot_name]/index.svelte | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/web/pw-server/src/routes/bots/[bot_name]/index.svelte b/web/pw-server/src/routes/bots/[bot_name]/index.svelte index a5934b6..afe2cc7 100644 --- a/web/pw-server/src/routes/bots/[bot_name]/index.svelte +++ b/web/pw-server/src/routes/bots/[bot_name]/index.svelte @@ -57,15 +57,6 @@ </form> --> <div class="container"> - <div class="header"> - <h1 class="bot-name">{bot["name"]}</h1> - {#if owner} - <a class="owner-name" href="/users/{owner['username']}"> - {owner["username"]} - </a> - {/if} - </div> - {#if $currentUser && $currentUser["user_id"] === bot["owner_id"]} <div> <!-- TODO: can we avoid hardcoding the url? --> @@ -126,28 +117,6 @@ padding-bottom: 24px; } - .header { - display: flex; - justify-content: space-between; - align-items: flex-end; - margin-bottom: 60px; - border-bottom: 1px solid black; - } - - $header-space-above-line: 12px; - - .bot-name { - font-size: 24pt; - margin-bottom: $header-space-above-line; - } - - .owner-name { - font-size: 14pt; - text-decoration: none; - color: #333; - margin-bottom: $header-space-above-line; - } - .btn-container { padding: 24px; text-align: center; |